@charset "utf-8";

$width:100%;
@import "common";
ul{
    list-style: none;
}
a{
    text-decoration: none;
    background-color: transparent;
}
body{
    background: #f6f6f6;
}
.content{
    .bar{
        height: 60px;
        line-height: 60px;
        width: $width;
        position: relative;
        transform: rotateX(0);
    }
    .cube{
        position: absolute;
        width: $width;
        top: 0;
//      left: 50%;
        text-align: center;
        box-shadow: 0 7px 5px -1px rgba(0,0,0,.1);
        line-height: 60px;
        height: 60px;
        background: #F5F5F5;
       .oneplus5t{
            max-width: 1200px;
            margin: 0 auto;
            font-size: 14px;
            nav{
                display: block;
                position: relative;
                text-align: right;
                width: $width;
                height: 60px;
                line-height: 60px;
                vertical-align: top;
                .nav-title{
                    position: absolute;
                    left: 23px;
                    font-size: 18px;
                }
                .menu{
                    display: inline-block;
                    height: 60px;
                    line-height: 60px;
                    margin-right: 100px;
                    vertical-align: top;
                    .menu-item{
                        display: inline-block;
                        a{
                            height: 60px;
                            line-height: 60px;
                            display: inline-block;
                            padding: 0 15px;
                            color: #333333;
                            vertical-align: middle;
                            transition: color .3s ease;
                            &:hover{
                                color: #EB0028;
                            }
                        }
                    }
                }
                .buy-btn{
                    display: block;
                    position: absolute;
                    right: 20px;
                    top: 1px;
                    .normal-link{
                        color: #09c;
                        display: none;
                    }
                    .invite-link{
                        color: #0099CC;
                        display: inline-block;
                        &:hover{
                            color: #0083b6;
                        }
                    }
                }
            }
        }
    }
    .op-main-content{
        max-width: 1200px;
        margin: 60px auto 200px;
        min-height:600px;
        position: relative;
        .phone-content{
            position: absolute;
            width: 550px;
            height: 550px;
            top: 0;
            left: 0;
            text-align: center;
            transition: margin .3s;
            .phone-display{
                width: $width;
                height: 550px;
                overflow: hidden;
                position: relative;
                .phone-full{
                    width: $width;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    opacity: 1;
                    transition: opacity .3s ease-out;
                    img{
                        max-width: $width;
                    }
                }
            }
            .link-icon{
                font-size: 14px;
                position: relative;
                padding-left: 20px;
                background: url(../img/icon_morephoto.png) left center no-repeat;
                background-size: 14px;
                color: #0099CC;
                &:hover{
                    color: #0083B6;
                }
            }
        }
        .buy-right{
            width: 50%;
            padding-left: 50%;
            .buy-head{
                padding-bottom: 17px;
                .buy-title{
                    font-size: 24px;
                    display: inline-blcok;
                    font-weight: 400;
                    color: #212121;
                }
            }
            .phone-wrapper{
                border-top: 1px solid #dedede;
                overflow: hidden;
                opacity: 1;
            .wrapper-content{
                padding: 20px 0;
                ul{
                    padding: 10px 0 0;
                    margin-right: -25px;
                    &:last-child{
                        margin-bottom: 0rem;
                    }
                }
            }
            .wrapper-title{
                font-size: 14px;
                line-height: 24px;
                color: #333333;
            }
            .bp-cm-button{
                background: #FFFFFF;
                margin: 10px 10px 10px 0;
                width: 46.7%;
                font-size: 14px;
                height: 60px;
                line-height: 60px;
                text-align: center;
                cursor: pointer;
                box-shadow: 1px 1px 2px rgba(0,0,0,.1);
                transition: border .2s;
                border: 1px solid transparent;
                float: left;
                
            }
            .line{
                    border: 2px solid #EB0028;
                    color: #EB0028;
                }
           }
           .insurance-title{
               font-size: 12px;
               padding: 20px 0;
               font-size: 14px;
               position: relative;
           }
           .prolong{
               margin: 0;
               transition: opacity .4s linear;
               .prolong-p{
                   font-size: 13px;
                   color: #737373;
                   line-height: 2rem;
                   padding-bottom: 20px;
               }
               .prolong-a{
                   color: #0099CC;
                   &:hover{
                       color: #0083B6;
                   }
               }
               .prolong-content{
                   padding-bottom: 20px;
                   .insurance-item{
                       background: #FFFFFF;
                       cursor: pointer;
                       border: 1px solid #e0e0e0;
                       border-radius: 0;
                       padding: 16px 0;
                       transition:box-shadow .3s ease;
                       box-shadow: 2px 2px 3px rgba(0,0,0,.05);
                       margin-bottom: 10px;
                       &:hover{
                           box-shadow: 2px 2px 5px rgba(0,0,0,.3);
                       }
                   }
                   .half-a-year{
                       position: relative;
                       padding-left: 70px;
                       overflow: hidden;
                       .select-btn{
                           width: 20px;
                           height: 20px;
                           position: absolute;
                           cursor: pointer;
                           border: 1px solid #CCCCCC;
                           border-radius: 2px;
                           left: 30px;
                           top: 50%;
                           margin-top: -10px;
                       }
                       .half-year-p{
                           font-size: 14px;
                           line-height: 24px;
                           color: #212121;
                           display: inline-block;
                           margin-right: 10px;
                           position: relative;
                       }
                       .half-time{
                           font-size: 12px;
                           color: #999999;
                       }
                       .price{
                           position: absolute;
                           top:50%;
                           right: 50px;
                           margin-top: -12px;
                           height: 100%;
                           line-height: 24px;
                           font-size: 12px;
                       }
                   }
               }
           }
           .pj-title{
               font-size: 14px;
               padding: 20px 0;
               color: #333333;
           }
           .pj-ul{
               padding-bottom: 20px;
           }
           .accessories-item{
               margin-bottom: 10px;
               font-size: 12px;
               border-bottom: 1px solid #E0E0E0;
               background: #FFFFFF;
               cursor: pointer;
               position: relative;
               padding: 25px 15px 25px 20px;
               box-shadow: 2px 2px rgba(0,0,0,.05);
               transition: box-shadow .3s ease;
               -webkit-transition: box-shadow .3s ease;
               &:hover{
                   box-shadow: 2px 2px 3px rgba(0,0,0,.3);
               }
               .tit{
                   padding: 0 0 0 120px;
                   line-height: 34px;
                   transition: all .3s ease-out;
               }
               .img-box{
                   width: 100px;
                   height: 100px;
                   float: left;
                   margin-top: -54px;
                   margin-right: 5%;
                   transition: all .3s ease-out;
                   img{
                       width:$width;
                   }
               }
               .price-box{
                   line-height: 34px;
                   .saved-box{
                       font-size: 14px;
                       color: #999999;
                       margin-left: 15px;
                       font-weight: 400;
                   }
               }
               .ej-color{
                   font-size: 14px;
                   line-height: 34px;
                   .rounder-selecter{
                       width: 8px;
                       height: 8px;
                       cursor: pointer;
                       border-radius: 8px;
                       overflow: hidden;
                       border: 2px solid transparent;
                       box-sizing: content-box;
                       padding: 2px;
                       display: inline-block;
                       text-align: center;
                       margin-right: 15px;
                       transition: width .3s ease-out,height .3s ease-out;
                       -webkit-transition: width .3s ease-out,height .3s ease-out;
                       img{
                           width: $width;
                           height: 100%;
                           border-radius: 50%;
                           display: inline-block;
                           vertical-align: top;
                           border: 1px solid #D0d0d0;
                           margin: -1px 0 0 -1px;
                       }
                   }
               }
           }
           .buy-end{
               background: #FFFFFF;
               padding: 30px 20px;
               box-shadow: 2px 2px 3px rgba(0,0,0,.05);
               transition: box-shadow .3s ease;
               -webkit-transition: box-shadow .3s ease;
               position: relative;
               &:hover{
                   box-shadow: 2px 2px 3px rgba(0,0,0,.3);
               }
           }
           .end-box{
               position: relative;
               
               .number{
                   margin-bottom: 20px;
                   padding: 5px 0;
                   color: #212121;
//                 bottom: 0;
//                 left: 0;
                   span{
                       font-size: 30px;
                       font-family: lato,"Microsoft Yahei";
                       font-weight: normal;
                   }
               }
               .end-btn{
                   height: 50px;
                   line-height: 50px;
                   text-align: center;
                   border-radius: 0;
                   background: #EB0028;
                   border: 1px solid #D70226;
                   font-size: 16px;
                   width: $width;
                   float: right;
                   color: #FFFFFF;
                   position: relative;
                   &:hover{
                       color: #FFFFFF;
                       &:before{
                           width: $width;
                       }
                   }
                   &:before{
                       width: 0;
                       height: 100%;
                       content: "";
                       position: absolute;
                       top: 0;
                       left: 0;
                       background: #D70226;
                       transition: width .15s ease;
                       -webkit-transition: width .15s ease;
                   }
                   span{
                       position: relative;
                       z-index: 2;
                   }
               }
           }
           .installment{
               margin: 20px 0;
               font-size: 14px;
               position: relative;
               &:hover{
                   .more-text{
                       opacity: 1;
                       visibility: visible;
                   }
               }
               .i-installment-logo{
                   background: url(../img/i-checkLater-logo.png) center center no-repeat;
                   width: 27px;
                   height: 43px;
                   background-size: contain;
               }
               i[class^="i-"]{
                   display: inline-block;
                   vertical-align: middle;
                   margin-right: 5px;
               }
               .span-text,.span-money{
                   vertical-align: middle;
               }
               .span-more{
                   width: 20px;
                   height: 20px;
                   display: inline-block;
                   background: #000000;
                   color: white;
                   border-radius: 50%;
                   line-height: 20px;
                   margin-left: 5px;
                   text-align: center;
                   vertical-align: middle;
                   cursor: pointer;
//                 &:hover + {
//                     .more-text{
//                         opacity: 1;
////                         display: block;
//                         visibility: visible;
//                     }
//                 }
               }
               .more-text{
                   position: absolute;
                   left: 74px;
                   bottom: 40px;
                   max-width: 450px;
                   width: 98%;
                   box-shadow: 0px 0px 8px 3px rgba(0,0,0,.2);
                   background-color: #f3f3f3;
                   border-radius: 3px;
                   z-index: 10;
                   opacity: 0;
                   -webkit-transition: opacity .3s ease;
                   transition: opacity .3s ease;
//                 display: none;
                   visibility: hidden;
                   .more-table{
                       .li-th{
                       float: none;
                       display: table;
                       margin-left: 0;
                       margin-top: 0;
                       color: #FFFFFF;
                       background-color:#0099CC ;
                       width: $width;
                       border-top-left-radius: 3px;
                       border-top-right-radius: 3px; 
                   }
                   .li-td{
                           float:none ;
                           display: table-cell;
                           text-align: center;
                           width: 33%;
                           height: 60px;
                           line-height: 24px;
                           vertical-align: middle;
                           margin-top: 0;
                           color: #000000;
                           &:nth-child(1){
                               width: 31%;
                           }
                           &:nth-child(3){
                               width: 37%;
                               line-height: 20px;
                               span{
                                   display: inline-block;
                                   width: $width;
                                   margin-top: 0;
                                   &:nth-child(1){
                                       position: relative;
                                       left: -8px;
                                   }
                                   &:nth-child(2){
                                       color: #999999;
                                       font-size: 12px;
                                   }
                           }
                       }
                   }
                   .li-tr{
                            float: none;
                            display: table;
                            margin-left: 0;
                            margin-top: 0;
                            color: #FFFFFF;
                            background-color: #FFFFFF;
                            height: auto;
                            margin-bottom: 2px;
                            border:none;
                            width: $width;
                            &:hover{
                                background-color: #F6F6F6;
                            }
                       }
                   }
                   
                    .more-p{
                        color: #999999;
                        text-align: right;
                        padding: 15px 20px;
                    }
                    .checklater{
                        float: right;
                        width: $width;
                        max-width: 373px;
                        padding: 0;
                        li{
                            float: none;
                            margin-top: 0;
                            margin-left: 0;
                            margin-bottom: 0;
                            border: none;
                            text-align: left;
                            background: 0 0;
                            height: auto;
                            padding: 0;
                        }
                        .li-td{
                            float: left;
                            width: 50%;
                            line-height: 40px;
                            margin-top: 0;
                            box-sizing: border-box;
                            white-space: nowrap;
                            text-overflow:ellipsis ;
                            overflow: hidden;
                        }
                        .i-checklater-1{
                            background: url(../img/checkLater.png) 0 -13px no-repeat;
                            width: 24px;
                            height: 24px;
                        }
                        .i-checklater-2{
                            background: url(../img/checkLater.png) 0 -37px no-repeat;
                            width: 24px;
                            height: 24px;
                        }
                         .i-checklater-3{
                            background: url(../img/checkLater.png) 0 -61px no-repeat;
                            width: 22px;
                            height: 22px;
                        }
                         .i-checklater-4{
                            background: url(../img/checkLater.png) 0 -83px no-repeat;
                            width: 22px;
                            height: 22px;
                        }
                    }
                    .more-link{
                        text-align: right;
                        padding: 10px 20px 20px;
                        i{
                            &:before{
                                width: 0;
                                height: 0;
                                content: "";
                                line-height: 0;
                                top: 50%;
                                display: inline-block;
                                border-width: 6px;
                                border-style: solid;
                                border-color: transparent transparent transparent #009ace; 
                            }
                        }
                        a{
                            color: #009ACE;
                        }
                    }
                    .arrow-icon{
                        position: absolute;
                        left: 50%;
                        bottom: -9px;
                        margin-left: -10px;
                        background: #F3F3F3;
                        width:20px;
                        height: 20px;
                        transform: rotate(45deg);
                        &:before{
                            content: "";
                            display: block;
                            width: $width;
                            height: 100%;
                            box-shadow: 2px 2px 8px rgba(0,0,0,.2);
                        }
                        &:after{
                            content: "";
                            position: absolute;
                            display: block;
                            width: 150%;
                            height: 150%;
                            background: #F3F3F3;
                            top: 0;
                            left: 0;
                            transform: rotate(-45deg) translate(0,-72%);
                        }
                    }
               }
           }
        }
        
    }
    .packing-box{
        background: #F6F6F6;
        padding: 3.64583%;
        color: #333333;
        h3{
            text-align: center;
            font-size: 18px;
            font-weight: 400;
            padding: 3.125% 0;
        }
        .packing-content{
            max-width: 1200px;
            margin: 0 auto;
            position: relative;  
            .img-item{
                height: 100%;
                text-align: center;
                margin-bottom: 96px;
                img{
                    max-width: 80%;
                }
                p{
                    font-size: 16px;
                    margin-top: 36px;
                }
            }
        }
        .packing-inner-box{
            max-width:80%;
            margin: 0 auto 36px;
            .data-line{
                float: left;
                width: 50%;
                text-align: center;
            }
            .img{
                padding-top: 0;
                img{
                    max-height: 350px;
                    max-width: 80%;
                }
            }
            p{
                text-align: center;
                margin-top: 36px;
            }
            .adapter{
                float: left;
                text-align: center;
                width: 50%;
            }
        }
    }
  
}
.clearfix{
    &:after{
        clear: both;
        display: block;
        overflow: hidden;
        content: "";
        height: 0;
    }
}